//
//  BackViewController.swift
//  XMenSwift
//
//  Created by X-MEN on 2021/12/28.
//

import UIKit

class BackViewController: BaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        let leble = UILabel.init(frame: CGRect(x: 10, y: 40, width: 200, height: 200));
        leble.text = "请点击屏幕跳转下一页"
        leble.textColor = .red
        self.view.addSubview(leble);
        self.isInterceptSliding = true;
    }
    

    
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        self.navigationController?.pushViewController(Back2ViewController.init(), animated: true)
    }
    
}
